package com.shanzmoo.db.stm.mapper;

import com.shanzmoo.db.stm.entity.StmSysRoleMenuEntity;
import com.shanzmoo.db.stm.entity.query.StmSysRoleMenuQuery;
import com.shanzmoo.db.stm.entity.vo.StmSysRoleMenuVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanzmoo.db.sys.entity.RoleMenuEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 仓储用户系统角色菜单关联表 Mapper 接口
 *
 * @author Gzhao 2021-03-10
 */
public interface StmSysRoleMenuMapper extends BaseMapper<StmSysRoleMenuEntity> {

    void deleteByRoleId(@Param("roleId") Integer roleId);

    void insertBatch(@Param("list") List<RoleMenuEntity> roleMenuEntityList);
}
